<style>
    .logo {
        background: url(./icon.svg) no-repeat;
        background-size: 100% 100%;
        width: 100px;
        height: 100px;
    }

    .cycle {
        fill: red;
        stroke: green;
        stroke-width: 3px;
    }
</style>

<body>
    img, css src 都没有效果, 但是直接在dom中还是可以的<br />
    <img src="./icon.svg" alt="SVG Icon" />
    <div class="logo">css src</div>

    <svg width="50" height="50" viewBox="0 0 100 100">
        <circle id="mycircle" cx="50" cy="50" r="50" fill="orange" class="cycle" />
    </svg>
</body>